#include "test.h"
#include <iostream>
#include <cstring>
using namespace std;

enum http_status http_status_enum(const char* str) {
#define XX(num, name, string) \
    if (strcmp(str, #string) == 0) { \
        return HTTP_STATUS_##name; \
    }
    HTTP_STATUS_MAP(XX)
#undef XX
    return HTTP_CUSTOM_STATUS;
}
int main(int argc, char const* argv[])
{
  cout << http_status_enum("Continue") << endl;
  return 0;
}
